<include file="Index:header" />

<div class="wapp">

     <div class="container">

     	<section id="main-content">
          <section class="wrapper">
              <!-- page start-->
              <div class="row">

              	<aside class="profile-info col-lg-6">
                  <section>
                      <div class="panel panel-primary">
                          <div class="panel-heading"> 最新互动</div>
                          <div class="panel-body">
                          		<div class="timeline-messages">
                                 <foreach name="hot" item="h">
                                  <!-- Comment -->
                                  <div class="msg-time-chat">
                                      <a href="#" class="message-img"><img class="avatar" src="{$img}id={$h.tx_id}&w=100&h=100" alt=""></a>
                                      <div class="message-body msg-in">
                                          <span class="arrow"></span>
                                          <div class="text">
                                              <p class="attribution"><a href="#">{$h.subject}</a> &nbsp;&nbsp;&nbsp;{$h.user_name}&nbsp;&nbsp;&nbsp; 发表于 {$h.create_time}</p>
                                              <p>{$h.simple}</p>
                                          </div>
                                      </div>
                                  </div>
                                  <!-- Comment -->
                                  </foreach>
                              </div>
                          </div>
                      </div>
                  </section>
                </aside>                

                <aside class="profile-info col-lg-6">
                  <section>
                      <div class="panel panel-primary">
                          <div class="panel-heading"> 最新话题</div>
                          <div class="panel-body">
                          		<div class="timeline-messages">
                                <foreach name="hot" item="h">
                                  <!-- Comment -->
                                  <div class="msg-time-chat">
                                      <a href="#" class="message-img"><img class="avatar" src="{$img}id={$h.tx_id}&w=100&h=100" alt=""></a>
                                      <div class="message-body msg-out">
                                          <span class="arrow"></span>
                                          <div class="text">
                                              <p class="attribution"><a href="#">{$h.subject}</a> &nbsp;&nbsp;&nbsp;{$h.user_name}&nbsp;&nbsp;&nbsp; 发表于 {$h.create_time}</p>
                                              <p>{$h.simple}</p>
                                          </div>
                                      </div>
                                  </div>
                                  <!-- Comment -->
                                  </foreach>

                              </div>
                          </div>
                      </div>
                  </section>
                </aside>  

                <aside class="profile-info col-lg-6">
                  <section>
                      <div class="panel panel-primary">
                          <div class="panel-heading"> 热门频道</div>
                          <div class="panel-body">
                            <foreach name="hotpd" item="hot">
                              <div class="col-lg-6">
                              		<div class="blog-post">
				                        <div class="media">
				                            <a class="pull-left" href="javascript:;">
				                                <img class=" " src="{$img}id={$hot.img_id}&w=80&h=80" alt="">
				                            </a>
				                            <div class="media-body">
				                                <h5 class="media-heading"><a href="javascript:;">{$hot.kind}</a></h5>
				                                <p>
				                                    {$hot.desc}
				                                </p>
				                            </div>
				                        </div>				                       
				                    </div>
                              </div>
                              </foreach>
                          </div>
                      </div>
                  </section>
                </aside>   
                     
                <aside class="profile-info col-lg-6">
                  <section>
                      <div class="panel panel-primary">
                          <div class="panel-heading"> 活跃用户</div>
                          <div class="panel-body">
                              <div class="tab-pane" id="comments">
                               <foreach name="hotu" item="user">
                                  <div class="col-lg-4">
                                  	 <article class="media">
	                                      <a class="pull-left thumb p-thumb">
	                                          <img src="{$img}id={$user.tx_id}&w=50&h=50">
	                                      </a>
	                                      <div class="media-body">
	                                          <a class="cmt-head" href="#">{$user.name}</a>
	                                      </div>
	                                  </article>
                                  </div>
                                </foreach>
                              </div>
                          </div>
                      </div>
                  </section>
                </aside>      
                 




              </div>
              <!-- page end-->
          </section>
      </section>



     </div>
 </div>


<include file="Index:footer" />